package com.mars.push.core.repository.mapper;

import com.mars.push.api.dto.MessageSearch;
import com.mars.push.core.entity.PushMessageEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author King
 * @create 2020/7/20 16:58
 */
@Repository
public interface PushMessageMapper extends BaseMapper<PushMessageEntity> {

    /**
     * 查询消息列表
     *
     * @param search
     * @return
     */
    public List<PushMessageEntity> listPushMessage(@Param("search") MessageSearch search);
}
